package com.atguigu.gulimall.ware.service;

import com.atguigu.common.utils.R;
import com.atguigu.gulimall.ware.entity.PurchaseEntity;
import com.atguigu.gulimall.ware.vo.MergeVo;
import com.atguigu.gulimall.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author KK
 * @email 2551000940@qq.com
 * @date 2023-09-27 15:12:04
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    R mergePurchase(MergeVo mergeVo);

    void received(List<Long> ids);

    void updateOrginalPurchase(List<Long> items);

    void done(PurchaseDoneVo doneVo);

}

